const proxy = require('http-proxy-middleware');

module.exports = function(app) {
    app.use(proxy(
        '/api', {
            // target: 'http://47.105.198.151:80'
            target: 'http://localhost:80'
        }
    ));
};
